

package com.xuelangyun.form.common.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 *
 * @author weiqing.hk
 * @version 1.0
 * @date 2024年7月12日19:54:07
 */
@ApiModel(value = "登录表单")
public class LoginFormApi implements java.io.Serializable {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 8196400672574734524L;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "用户账号")
    @NotBlank(message = "用户账号不能为空")
    private String userNo;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

}
